projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2e384a
)
Fix lint in tests
author
Felix Krull
<f_krull@gmx.de>
Thu, 31 Oct 2019 14:12:04 +0000
(15:12 +0100)
committer
Colin Walters
<walters@verbum.org>
Fri, 6 May 2022 16:53:55 +0000
(12:53 -0400)
rust-bindings/rust/tests/repo/mod.rs
patch
|
blob
|
history
diff --git
a/rust-bindings/rust/tests/repo/mod.rs
b/rust-bindings/rust/tests/repo/mod.rs
index 16d52737c53587379be3fda2eeef6eeb4218201a..b4e4392ca961b23ffd4e9b87057fcc6f9ce54464 100644
(file)
--- a/
rust-bindings/rust/tests/repo/mod.rs
+++ b/
rust-bindings/rust/tests/repo/mod.rs
@@
-120,7
+120,7
@@
fn copy_file(src: &TestRepo, dest: &TestRepo, obj: &ObjectName) {
assert_eq!(out_csum.to_string(), obj.checksum());
}
-fn copy_metadata(src: &TestRepo, dest: &TestRepo, obj: &ObjectName)
-> ()
{
+fn copy_metadata(src: &TestRepo, dest: &TestRepo, obj: &ObjectName) {
let data = src
.repo
.load_variant(obj.object_type(), obj.checksum())